<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2017/3/16
  Time: 18:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
</head>
<body>
<a href="${pageContext.request.contextPath}/user/goadd.do" >注册</a>
  <table>
    <tr>
      <td>用户ID</td>
      <td>用户名</td>
      <td>用户年龄</td>
      <td>用户地址</td>
    </tr>
    <c:forEach items="${list}" var="list">
      <tr>
        <td>${list.uid} </td>
        <td>${list.username}</td>
        <td>${list.age}</td>
        <td>${list.addr}</td>
        <td><a href="${pageContext.request.contextPath}/user/del.do?uid=${list.uid}">删除</a></td>
      </tr>
    </c:forEach>
  </table>
</body>
</html>
